package rank

import (
	"server/game/player"
)

// IncomeRank 收入榜
type IncomeRank struct {
	PlayerID    string                `bson:"player_id"`
	Income      int64                 `bson:"income"`
	Level       int64                 `bson:"level"`
	PlayerName  string                `bson:"player_name"`
	Avatar      player.DecorativeItem `bson:"avatar" json:"avatar"`
	Title       player.DecorativeItem `bson:"title" json:"title"`
	AvatarFrame player.DecorativeItem `bson:"avatar_frame" json:"avatar_frame"`
	ChatBubble  player.DecorativeItem `bson:"chat_bubble" json:"chat_bubble"`
	ChatTitle   player.DecorativeItem `bson:"chat_title" json:"chat_title"`
}

// 能力榜
type AbilityRank struct {
	CardID  string `bson:"card_id"`
	Ability int64  `bson:"ability"`
	//	Player      playerdb.Player    `bson:"player"`
	PlayerID    string                `bson:"player_id"`
	Level       int64                 `bson:"level"`
	PlayerName  string                `bson:"player_name"`
	Avatar      player.DecorativeItem `bson:"avatar" json:"avatar"`
	Title       player.DecorativeItem `bson:"title" json:"title"`
	AvatarFrame player.DecorativeItem `bson:"avatar_frame" json:"avatar_frame"`
	ChatBubble  player.DecorativeItem `bson:"chat_bubble" json:"chat_bubble"`
	ChatTitle   player.DecorativeItem `bson:"chat_title" json:"chat_title"`
}

// CharmRank 魅力榜
type CharmRank struct {
	CardID string `bson:"card_id"`
	Charm  int64  `bson:"charm"`
	//Player      playerdb.Player    `bson:"player"`
	PlayerID    string                `bson:"player_id"`
	Level       int64                 `bson:"level"`
	PlayerName  string                `bson:"player_name"`
	Avatar      player.DecorativeItem `bson:"avatar" json:"avatar"`
	Title       player.DecorativeItem `bson:"title" json:"title"`
	AvatarFrame player.DecorativeItem `bson:"avatar_frame" json:"avatar_frame"`
	ChatBubble  player.DecorativeItem `bson:"chat_bubble" json:"chat_bubble"`
	ChatTitle   player.DecorativeItem `bson:"chat_title" json:"chat_title"`
}

// GuildRank 公会榜
type GuildRank struct {
	GuildID     string                `bson:"guild_id"`
	Income      int                   `bson:"income"`
	PlayerName  string                `bson:"player_name"`
	Avatar      player.DecorativeItem `bson:"avatar" json:"avatar"`
	Title       player.DecorativeItem `bson:"title" json:"title"`
	AvatarFrame player.DecorativeItem `bson:"avatar_frame" json:"avatar_frame"`
	ChatBubble  player.DecorativeItem `bson:"chat_bubble" json:"chat_bubble"`
	ChatTitle   player.DecorativeItem `bson:"chat_title" json:"chat_title"`
}
